package pit.com.ordermobilesystem;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

public class FinishFragment extends FragmentActivity {
	private Button bt_finish;
	@Override
	public void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.finish);
        bt_finish = (Button) findViewById(R.id.bt_finish);
        
        EventFinish();
	}
		//bt_finish = (Button) rootView.findViewById(R.id.bt_finish);
		

	private void EventFinish(){
		bt_finish.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				finish();
			}
		});
		
	}
	
}
